<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
        $this->display();
    }
    public function wap(){
        $this->display();
    }
    public function view(){
        $user = M('User')->field('avatar_url')->select();
        dump($user);
    }
}